Function note: The function getopt() will allow you to easily handle any number of options as input to your CLI-based programs. It is NOT part of the ANSI specifications for C, but I find that it makes including options for my programs much less painful. Compilation note: If you have Manx's Aztec C (as I do), getopt can be compiled as either a 16- or 32-bit integer function. Use whichever mode your calling routine uses. Just a note: If you find this function useful (I hope you do; I hate remembering to type "opt x" instead of "-x") I would appreciate receiving a picture postcard from your locale bearing the most interesting tidbit of Amiga information you are willing to share. Thanks. Adam Levin 133c Hudson Terrace Piermont, NY 10968-1013